﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DXApplicationTangche.UC.金蝶.dto
{
    class InitialStockDTO
    {
        public class FBillTypeID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNUMBER { get; set; }
        }

        public class FStockID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FOwnerIdHead
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FKeeperID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FMaterialID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FUnitID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FAuxPropId
        {
        }

        public class FBomID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FStockStatusID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FSubSTOCKID
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNUMBER { get; set; }
        }

        public class FSTOCKLOCID__FF100001
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FStockLocId
        {
            /// <summary>
            /// 
            /// </summary>
            public FSTOCKLOCID__FF100001 FSTOCKLOCID__FF100001 { get; set; }
        }

        public class FLot
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FOwnerId
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FExtAuxUnitId
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNumber { get; set; }
        }

        public class FSupplyId
        {
            /// <summary>
            /// 
            /// </summary>
            public string FNUMBER { get; set; }
        }

        public class FSerialSubEntityItem
        {
            /// <summary>
            /// 
            /// </summary>
            public int FDetailID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FSerialNo { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FSerialNote { get; set; }
        }

        public class FInvInitDetailItem
        {
            /// <summary>
            /// 
            /// </summary>
            public int FEntryID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FMaterialID FMaterialID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FUnitID FUnitID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FAuxPropId FAuxPropId { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FBomID FBomID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FMTONO { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FQty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FYReceiveQty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FSecQty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FYSendQty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FStockStatusID FStockStatusID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FSecYReceiveQty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FSecYSendQty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FSubSTOCKID FSubSTOCKID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FStockLocId FStockLocId { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FLot FLot { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FProduceDate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FOwnerTypeId { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FOwnerId FOwnerId { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FEntryNote { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FExpiryDate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FAmount { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FYReceiveAmount { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FYSendAmount { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FExtAuxUnitId FExtAuxUnitId { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FEXTSECYTDQTY { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FExtSecQty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FExtSecYreceiveQty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FExtSecYsendQty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int FYtdAmount { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FStockInDate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FSupplyId FSupplyId { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FSupplyLot { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<FSerialSubEntityItem> FSerialSubEntity { get; set; }
        }

        public class Model
        {
            /// <summary>
            /// 
            /// </summary>
            public int FID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FBillNo { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FBillTypeID FBillTypeID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FStockID FStockID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FOwnerTypeIdHead { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FOwnerIdHead FOwnerIdHead { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FKeeperTypeID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public FKeeperID FKeeperID { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FNote { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string FScanBox { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<FInvInitDetailItem> FInvInitDetail { get; set; }
        }

        public class Root
        {
            /// <summary>
            /// 
            /// </summary>
            public List<string> NeedUpDateFields { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> NeedReturnFields { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string IsDeleteEntry { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string SubSystemId { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string IsVerifyBaseDataField { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string IsEntryBatchFill { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string ValidateFlag { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string NumberSearch { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string IsAutoAdjustField { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string InterationFlags { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string IgnoreInterationFlag { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public Model Model { get; set; }
        }
    }
}
